package net.starwifi.duobao.service.impl;


import net.starwifi.duobao.entity.Wxhd;
import net.starwifi.duobao.repository.WxhdRepository;
import net.starwifi.duobao.service.BaseServiceImpl;
import net.starwifi.duobao.service.WxhdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WxhdServiceImpl extends BaseServiceImpl<Wxhd,Long> implements WxhdService {

        @Autowired
         WxhdRepository wxhdRepository;


    @Override
    public Wxhd findByOpenId(String openId) {
        return wxhdRepository.findByOpenid(openId);
    }


    //@Autowired
    //MemberRepository repository;




}
